package net.maku.im.convert;

import net.maku.im.entity.ImGroupEntity;
import net.maku.im.vo.ImGroupVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* IM群
*
* @author Blue 
* @since 1.0.0 2024-07-14
*/
@Mapper
public interface ImGroupConvert {
    ImGroupConvert INSTANCE = Mappers.getMapper(ImGroupConvert.class);

    ImGroupEntity convert(ImGroupVO vo);

    ImGroupVO convert(ImGroupEntity entity);

    List<ImGroupVO> convertList(List<ImGroupEntity> list);

}